package cn.txzhang.bookstores.modular.business.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author txzhang
 * @date 2021/8/16 15:05
 */
@Controller
@RequestMapping("/book")
public class BookViewController {

    @GetMapping("/view")
    public String book() {
        return "/modular/business/book/book.html";
    }

    @GetMapping("/view/add")
    public String bookAdd() {
        return "/modular/business/book/book_add.html";
    }
}
